﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace my.abp.Application.Contracts.Dtos.Account
{
	public class LoginOutputDto
	{
		public string Token { get; set; }
		public string RefreshToken { get; set; }
	}

	/// <summary>
	/// 用户登录信息
	/// </summary>
	public class LoginUserOutput
	{
		/// <summary>
		/// 用户id
		/// </summary>
		public long Id { get; set; }

		/// <summary>
		/// 账号名称
		/// </summary>
		public string Account { get; set; }

		/// <summary>
		/// 真实姓名
		/// </summary>
		public string Name { get; set; }

		/// <summary>
		/// 机构Id
		/// </summary>
		public long OrgId { get; set; }

		/// <summary>
		/// 机构名称
		/// </summary>
		public string OrgName { get; set; }

		/// <summary>
		/// 按钮权限集合
		/// </summary>
		public List<string> Buttons { get; set; }
	}
}
